package com.linkzd.iot.domain;

import com.linkzd.common.annotation.Excel;
import com.linkzd.common.core.domain.BaseEntity;

/**
 * @author: Wangym
 * @Date: 2024/5/30 13:04
 * @Description:
 */
public class SensorsReportDataLog{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long dataId;


    /** 设备数据 */
    @Excel(name = "设备数据")
    private String deviceData;


    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceCode;


    /** 设备房间 */
    @Excel(name = "设备房间")
    private String roomNum;

    /** 时间 */
    @Excel(name = "时间")
    private String createTime;

    public SensorsReportDataLog() {
    }

    public SensorsReportDataLog(Long dataId, String deviceData, String deviceCode, String roomNum,String createTime) {
        this.dataId = dataId;
        this.deviceData = deviceData;
        this.deviceCode = deviceCode;
        this.createTime = createTime;
        this.roomNum = roomNum;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Long getDataId() {
        return dataId;
    }

    public void setDataId(Long dataId) {
        this.dataId = dataId;
    }


    public String getDeviceData() {
        return deviceData;
    }

    public void setDeviceData(String deviceData) {
        this.deviceData = deviceData;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getRoomNum() {
        return roomNum;
    }

    public void setRoomNum(String roomNum) {
        this.roomNum = roomNum;
    }

    @Override
    public String toString() {
        return "SensorsReportDataLog{" +
                "dataId=" + dataId +
                ", deviceData='" + deviceData + '\'' +
                ", deviceCode='" + deviceCode + '\'' +
                ", roomNum='" + roomNum + '\'' +
                ", createTime='" + createTime + '\'' +
                '}';
    }
}
